package com.dubbo.server.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;


public enum UserStatus implements IEnum<Integer> {
    NORMAL(1, "正常"),
    FROZEN(2, "冻结");

    private int value;
    private String state;

    UserStatus(int value, String state) {
        this.value = value;
        this.state = state;
    }


    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.state;
    }
}
